package com.rongshu.view.discovery.bean;

import android.text.TextUtils;

import com.rongshu.view.submitArticle.bean.LabelBean;

import java.io.Serializable;
import java.util.List;

/**
 * created by zhengweis on 2019/2/15.
 * description：
 */
public class ArticleListItemBean implements Serializable {

    /**
     * 文章id  contribute_id : 20
     * 文章头图 topImg : null
     * 文章标题 title : 漂亮的洞
     * 文章简介 contents_header : 大概每一只螃蟹 都会用去差不多 一生的时间 躲在深深的湖底挖洞 我的家乡，就坐落在一个 这样深的湖底 数不清的螃蟹 挖出各种各样
     * 文章类型 categories : 诗歌
     * 文章标签 keywordList : [{"id":79,"title":"当代诗"}]
     */

    private int contribute_id;
    private String topImg;
    private String title;
    private String contents_header;
    private String categories;
    private List<LabelBean> keywordList;
    private int IsRead;//0未阅读大于0阅读
    private String bi_name;

    public int isRead() {
        return IsRead;
    }

    public void setRead(int IsRead) {
        this.IsRead = IsRead;
    }

    public int getContribute_id() {
        return contribute_id;
    }

    public void setContribute_id(int contribute_id) {
        this.contribute_id = contribute_id;
    }

    public String getTopImg() {
        return topImg;
    }

    public void setTopImg(String topImg) {
        this.topImg = topImg;
    }

    public String getBi_name() {
        return TextUtils.isEmpty(bi_name) ? "null" : bi_name;
    }

    public void setBi_name(String bi_name) {
        this.bi_name = bi_name;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContents_header() {
        return contents_header;
    }

    public void setContents_header(String contents_header) {
        this.contents_header = contents_header;
    }

    public String getCategories() {
        return categories;
    }

    public void setCategories(String categories) {
        this.categories = categories;
    }

    public List<LabelBean> getKeywordList() {
        return keywordList;
    }

    public void setKeywordList(List<LabelBean> keywordList) {
        this.keywordList = keywordList;
    }
}
